package com.date;

import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.IOException;
import java.util.Properties;

public class DateExample {

	public static void main(String[] args) throws FileNotFoundException,
			IOException {
		 
		Properties properties = new Properties();
		properties.load(new FileReader("C:\\Anjali\\work\\test.properties"));
		
		System.out.println(properties.get("db.ip")); //10.20.44.122
		
		 
	}
}
